package com.leo.http;

import java.io.IOException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Main {
	public static void main(String[] args) {
		URLManager.getInstace().addUrl("https://www.dbmeinv.com/");
		ExecutorService pool = Executors.newFixedThreadPool(5);
		pool.submit(new DownLoadThread());
		pool.submit(new DownLoadThread());
		pool.submit(new DownLoadThread());
	}
}
